package com.bwhx.eruler.dao;

import java.util.HashMap;
import java.util.List;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.Buyer;

public interface BuyerDao extends BaseDao<Buyer> {

	List<Buyer> findByName(String buyername);

	int insertSN();

	void inputBuyer(Buyer s);

	List<Buyer> list(Page p);

	Integer count(Buyer s);


	List<Buyer> listAll();

	Buyer findById(Integer getoOKuGuanId);

	Buyer findByLoginName(String loginName);

	Buyer findByBName(String getbName);


	void update(HashMap<String, Integer> map);

	Buyer getBySDKID(String string);

	Buyer findByBNameAndBCode(Buyer buyer);

}
